package com.xique.park.controller.client.web.bean.request;

import com.xique.common.core.web.request.BasePageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author shd
 * @create 2021/7/28 17:36
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("在场记录")
public class ClientParkOnListRequest extends BasePageRequest {

    private Long parkId;

    @ApiModelProperty("岗亭ID")
    private String clientId;

    @ApiModelProperty("入场开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inTimeBegin;

    @ApiModelProperty("入场结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inTimeEnd;

    @ApiModelProperty("车辆管理类型")
    private String mngTypeId;

    @ApiModelProperty("车牌")
    private String plate;

    private String clientCode;

}
